﻿using LJLib.Net.SPI.Com;
using PhoneUI.Com.Modle;
using System.Collections.Generic;

namespace PhoneUI.Com
{
    public sealed class GetCusareasByTimeRequest : ILJTokenRequest<GetCusareasByTimeResponse>
    {
        public string token { get; set; }
        /// <summary>
        /// 查询上次同步后的修改，初次同步传入空
        /// </summary>
        public string lastDate { get; set; }

        public string GetApiName()
        {
            return "GetCusareasByTime";
        }
    }

    public sealed class GetCusareasByTimeResponse : LJResponse
    {
        public List<Cusarea> cusareas { get; set; }
        /// <summary>
        /// 当前同步的时间
        /// </summary>
        public string syncTime { get; set; }
    }
}